import { http } from '@/http'

export const api = {
  getListByLevel: '/cms/api/majorEventRecordData/getListByLevel',
  getListByTime: '/cms/api/majorEventRecordData/getListByTime'
}
// 获取事件列表
export const getListByLevel = () => {
  return http.get(api.getListByLevel)
}
// 获取某一年的事件列表
export const getListByTime = (data) => {
  return http.post(api.getListByTime, data)
}
